{temp('html/recruit/pc/head')}
<script>
function gbqu(id){
	$.post('{$_url}/?act=get_diqus',{id:id},function(data){
		$("#dzss").html(data);
		init("icon_1","content_1");
	});
}
function qzss(){//全职搜索
	var mh = $("#mh").val();//企业名称/职位名称
	var key = $("#key").val();//关键字
	if(key == '请输入关键词'){
		var key = '';
	}
	var shi = $("#shi").val();//省
	var qu = $("#qu").val();//市
	var yxfw = $("#yxfw").val();//月薪范围
	var qyxz = $("#qyxz").val();//企业性质
	var xueli = $("#xueli").val();//学历
	var fbsj = $("#fbsj").val();//发布时间
	location.href='{$_url}/?act=ruser&met=qzlist&mh='+mh+'&key='+key+'&shi='+shi+'&qu='+qu+'&fbsj='+fbsj+'&xueli='+xueli+'&qyxz='+qyxz+'&yxfw='+yxfw;
}
</script>
</head>
<body onload="init2('key','请输入关键词')">
	{temp('html/recruit/pc/ruser/head')}

		<!--主体内容-->
		<div class="w_bai dis_inline t_c">
			<!--详细-->
			<div class="w_1100 auto_0">
				<!--导航-->
				<div class="w_bai dis_inline t_m10">
					<div class="f_l t_m3 home"></div>
					<span class="f_l t_m5 l_m5" id="jibie">
						您所在的位置：<a href="{$_url}">首页</a> > <a href="{$_url}/?act=ruser&met=qzlist&mh=qyname&key=&shi=410100&qu=0&fbsj=0&xueli=0&qyxz=0&yxfw=0">找工作</a>
					</span>
				</div>
				<!--导航结束-->
				<!--搜索-->
				<div class="w_bai dis_inline t_m10 bc_FFF">
					<!--搜索框-->
					<div class="w_850 auto_20 ">
						<div class="f_l w_110 h_40 l_h40 bor_127ABF point" style="margin-top:0px!important;margin-top:1px"
							onclick="showList('search')">
							<div>
								<div id="mhgb" class="f_l c_656565 l_m15" style="_margin-left:8px">{if($mh == 'zwname')}职位名称{else}企业名称{/if}</div>
								<input type="hidden" id="mh" value="{$mh}" />
								<div class="f_l l_m10 t_m17 xiala2"></div>
							</div>
							<!--隐藏的列表-->
							<div class="f_l w_110 bor_127ABF t_c jddw" id="search" 
								style="margin-left:-2px!important;margin-top:40px;margin-left:-102px;_margin-left:-104px;display:none;">
								<ul>
									<li id="qiye" onMouseOver="changeBackOver2('qiye')" onMouseOut="changeBackOut2('qiye')" 
										onClick="changeList('mh','qyname','企业名称')">企业名称</li>
									<li id="job" onMouseOver="changeBackOver2('job')" onMouseOut="changeBackOut2('job')" 
										onClick="changeList('mh','zwname','职位名称')">职位名称</li>
								</ul>
							</div>
							<!--隐藏的列表结束-->
						</div>
						<div class="f_l" >
							<input type="text" id="key" class="inp_cha" onfocus="checkGuanJianCiFocus('key')" 
                                    	onblur="checkGuanJianCiBlur('key')"style="border-left-style:none" />
						</div>
						<div class="f_l w_180 h_40 l_h40 bor_127ABF t_c point"
							style="border-left-style:none;margin-top:0px!important;margin-top:1px"
							onclick="showList('choseCity')">
							<div id="shigb" class="f_l l_m4 c_656565 w_155 t_c">{$sname}</div>
							<input type="hidden" id="shi" value="{$sid}" />
							<div class="f_l t_m17 xiala2" style="margin-left:4px!important;margin-left:0px"></div>
						</div>
						<div class="f_l" style="margin-top:0px!important;margin-top:1px">
							<div class="w_110 h_40 l_h40 t_c f_s20 c_FFF bc_127ABF bor_127ABF point" onClick="qzss()">搜索</div>
						</div>
						<!--选择城市-->
						<div id="choseCity" class="f_r w_410 bor_137ABF jddw bc_FFF zIndex_2"
							style="display:none;margin-top:44px;margin-left:509px!important;margin-left:-298px;_margin-left:-318px;">
							<!--标题-->
							<div class="h_45 bc_127ABF c_FFF l_h45">
								<div class="f_l l_m10">选择城市</div>
								<div class="f_r r_m10 point" onClick="closeList('choseCity')">选好了</div>
							</div>
							<!--标题结束-->
							<!--所属省份-->
							<div class="w_380 auto_10 t_l">
								<p class="c_323232">所属省份</p>
								<div class="bor_C6 bor_di_none t_m8"></div>
								<div id="city">
									<ul>
										{if(@$dz)}
										{foreach($dz as $k=>$v)}
										<li onClick="showList('city_hide{$k}')">
											{$v['area_name']}
											<!--隐藏的城市-->
											<div id="city_hide{$k}" class="w_180 bor1_137ABF jddw bc_FFF"
												style="display:none;margin-top:0px!important;margin-top:22px;margin-left:0px!important;margin-left:-30px;">
												<ul>
													{if(@$v['xiaji'])}
													{foreach($v['xiaji'] as $kk=>$vv)}
													<li style="width:160px;" onClick="changeLists('shi','{$vv['area_id']}','{$vv['area_name']}','{$vv['area_id']}')">{$vv['area_name']}</li>
													{/foreach}
													{/if}
												</ul>
											</div>
											<!--隐藏的城市结束-->
										</li>
										{/foreach}
										{/if}
									</ul>
								</div>
							</div>
							<!--所属省份结束-->
						</div>
						<!--选择城市结束-->
					</div>
					<!--搜索框结束-->
					<!--收起筛选-->
					<div class="dis_inline w_bai">
						<div class=" f_r r_m40" onClick="hideList('chose','shou')">
							<div class="bor_C6 w_78 h_25 l_h25 point f_s0" style="border-bottom-style:none">
								<div class="f_l f_s12 c_656565" style="margin-left:5px!important;margin-left:3px;_margin-left:2px">
									收起筛选
								</div>
								<div class="f_l t_m5 jiantou_up" id="shou"></div>
							</div>
						</div>
					</div>
					<!--收起筛选结束-->
					<!--分割线-->
					<div class="w_bai dis_inline f_l">
						<div class="bor_C6 bor_di_none "></div>
					</div>
					<!--分割线结束-->
					<!--选项-->
					<div class="t_m10 w_bai b_m20 t_l" id="chose" style="display:block">
						<!--地标地段-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 l_m40 f_b" style="_margin-left:18px">地标地段</div>
							<input type="hidden" id="qu" value="0" />
							<div id="dzss" class="f_l">
								<div class="f_l l_m10 active point" style="_margin-left:5px" {if(@$dzs)}onclick="qbyc('qu',{code(echo count($dzs))})"{/if}>不限</div>
								<div class="f_l w_850 hid" id="content_1">
									{if(@$dzs)}
				        			{foreach($dzs as $k=>$v)}
				        			<span id="qu{$k}" onClick="gbval('qu',{$v['area_id']},{$k},{code(echo count($dzs))})">{$v['area_name']}</span>
				        			{/foreach}
				        			{/if}
								</div>
								<!--展开与隐藏图标-->
								<div class="jian point f_l l_m15" id="icon_1" style="display:none" 
									onclick="change('icon_1','content_1')">
								</div>
								<!--展开与隐藏图标结束-->
							</div>
						</div>
						<!--地标地段结束-->
						<!--发布时间-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 l_m40 f_b" style="_margin-left:18px">发布时间</div>
							<div class="f_l l_m10 active point" onClick="qbyc('fbsj',4)">不限</div>
							<div class="f_l w_850 " id="content_2">
								<input type="hidden" id="fbsj" value="0" />
								<span id="fbsj0" onClick="gbval('fbsj',1,0,4)">今天</span>
								<span id="fbsj1" onClick="gbval('fbsj',3,1,4)">最近三天</span>
								<span id="fbsj2" onClick="gbval('fbsj',7,2,4)">最近一周</span>
								<span id="fbsj3" onClick="gbval('fbsj',30,3,4)">最近一个月</span>
							</div>
							<!--展开与隐藏图标-->
							<div class="jian point f_l l_m15" id="icon_2" style="display:none" 
								onclick="change('icon_2','content_2')">
							</div>
							<!--展开与隐藏图标结束-->
						</div>
						<!--发布时间结束-->
						<!--学历要求-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 l_m40 f_b" style="_margin-left:18px">学历要求</div>
							<div class="f_l l_m10 active point" {if(@$_xueli)}onclick="qbyc('xueli',{code(echo count($_xueli)-1)})"{/if}>不限</div>
							<div class="f_l w_850 " id="content_3">
								<input type="hidden" id="xueli" value="0" />
								{if(@$_xueli)}
			        			{foreach($_xueli as $k=>$v)}
			        			{if($k != 0)}
			        			<span id="xueli{code(echo $k-1)}" onClick="gbval('xueli','{$v}',{code(echo $k-1)},{code(echo count($_xueli)-1)})">{$v}</span>
			        			{/if}
			        			{/foreach}
			        			{/if}
							</div>
							<!--展开与隐藏图标-->
							<div class="jian point f_l l_m15" id="icon_3" style="display:none" 
								onclick="change('icon_3','content_3')">
							</div>
							<!--展开与隐藏图标结束-->
						</div>
						<!--学历要求结束-->
						<!--企业性质-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 l_m40 f_b" style="_margin-left:18px">企业性质</div>
							<div class="f_l l_m10 active point" {if(@$_qyxz)}onclick="qbyc('qyxz',{code(echo count($_qyxz))})"{/if}>不限</div>
							<div class="f_l w_850 " id="content_4">
								<input type="hidden" id="qyxz" value="0" />
								{if(@$_qyxz)}
			        			{foreach($_qyxz as $k=>$v)}
			        			<span id="qyxz{$k}" onClick="gbval('qyxz','{$v}',{$k},{code(echo count($_qyxz))})">{$v}</span>
			        			{/foreach}
			        			{/if}
							</div>
							<!--展开与隐藏图标-->
							<div class="jian point f_l l_m15" id="icon_4" style="display:none" 
								onclick="change('icon_4','content_4')">
							</div>
							<!--展开与隐藏图标结束-->
						</div>
						<!--企业性质结束-->
						<!--工资要求-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 l_m40 f_b" style="_margin-left:18px">工资要求</div>
							<div class="f_l l_m10 active point" {if(@$_yxfw)}onclick="qbyc('yxfw',{code(echo count($_yxfw))})"{/if}>不限</div>
							<div class="f_l w_850 " id="content_5">
								<input type="hidden" id="yxfw" value="0" />
								{if(@$_yxfw)}
			        			{foreach($_yxfw as $k=>$v)}
			        			<span id="yxfw{$k}" onClick="gbval('yxfw','{$v}',{$k},{code(echo count($_yxfw))})">{$v}</span>
			        			{/foreach}
			        			{/if}
							</div>
							<!--展开与隐藏图标-->
							<div class="jian point f_l l_m15" id="icon_5" style="display:none" 
								onclick="change('icon_5','content_5')">
							</div>
							<!--展开与隐藏图标结束-->
						</div>
						<!--工资要求结束-->
					</div>
					<!--选项结束-->
				</div>
				<!--搜索框及选项结束-->
				<!--职位类型-->
				<div id="zhiweileixing" class="w_bai dis_inline t_l" style="display:block">
					<!--标题选项-->
					<div class="dis_inline t_m10">
						<div class="f_l w_150 h_50 t_c l_h50 f_s20 c_FFF bc_137ABF point">
							按职位搜索
						</div>
						<div class="f_l w_150 h_50 t_c l_h50 f_s20 c_323232 bc_BFDBE3 point"  
							onclick="qiehuan('zhiweileixing','hangyeleixing')">
							按行业搜索
						</div>
					</div>
					<!--标题选项结束-->
					<!--内容-->
					<div class="w_bai bc_FFF dis_inline">
						{if(@$zwlb)}
       					{foreach($zwlb as $k=>$v)}
       					<!--类别1-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 w_190 t_c f_b point" 
							onClick="window.location.href='{$_url}/?act=ruser&met=qzlist&zwlb={$v['id']}'">
								{$v['name']}
							</div>
							<div class="f_l l_m10 w_900 point" id="chose">
								{if(@$v['xiao'])}
       							{foreach($v['xiao'] as $kk=>$vv)}
								<span onClick="window.location.href='{$_url}/?act=ruser&met=qzlist&zwlb={$v['id']}&zhiwei={$vv['id']}'">
									{$vv['name']}
								</span>
								{/foreach}
								{/if}
							</div>
						</div>
						<!--类别1结束-->
						{if($k != count($zwlb) - 1)}
						<!--分割线-->
						<div class="bor_C6 bor_di_none t_m10"></div>
						<!--分割线结束-->
						{/if}
       					{/foreach}
       					{/if}
					</div>
					<!--内容结束-->
				</div>
				<!--职位类型结束-->
				<!--行业类型-->
				<div id="hangyeleixing" class="w_bai dis_inline t_l" style="display:none">
					<!--标题选项-->
					<div class="dis_inline t_m10">
						<div class="f_l w_150 h_50 t_c l_h50 f_s20 c_323232 bc_BFDBE3 point"
						 	onclick="qiehuan('zhiweileixing','hangyeleixing')">
							按职位搜索
						</div>
						<div class="f_l w_150 h_50 t_c l_h50 f_s20 c_FFF bc_137ABF point">
							按行业搜索
						</div>
					</div>
					<!--标题选项结束-->
					<!--内容-->
					<div class="w_bai bc_FFF dis_inline">
						<div class="t_m20 c_656565 dis_inline point" id="hangye">
							{if(@$hy)}
	       					{foreach($hy as $k=>$v)}
	       					<span onClick="window.location.href='{$_url}/?act=ruser&met=qzlist&hylb={$v['id']}'">
	       						{$v['name']}
	       					</span>
	       					{/foreach}
	       					{/if}
						</div>
					</div>
					<!--内容结束-->
				</div>
				<!--行业类型结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--主体内容结束-->
		<script type="text/javascript">
			var line=18;
			
			function change(iconId,connId){
				var icon=document.getElementById(iconId);
				var conn=document.getElementById(connId);
				var rows=getRows(connId);
				
				if(rows>0){
					icon.style.background="url({$style}/images/icon.png) -350px 0 no-repeat";
					conn.style.height="23px";
					conn.style.overflow="hidden";
				}else{
					icon.style.background="url({$style}/images/icon.png) -320px 0 no-repeat";
					conn.style.height="auto";
					conn.style.overflow="";
				}
			}
			function init(iconId,connId){
				var icon=document.getElementById(iconId);
				var rows=getRows(connId);
				if(rows>0){
					icon.style.display="block";	
				}else{
					icon.style.display="none";	
				}
			} 		
			function getRows(connId){
				var conn=document.getElementById(connId);
				return parseInt(conn.offsetHeight / line -1);
			}
			init("icon_1","content_1");
			init("icon_2","content_2");
			init("icon_3","content_3");
			init("icon_4","content_4");
			init("icon_5","content_5");
		</script>
{temp('html/recruit/pc/foot')}